package com.revoltingdevelopment.perquackey;
import java.util.*;
/**
 * Player
 */
public class Player {

	public Player(String name) {
		this.name = name;
	}

	public String getName() {
		return this.name;
	}

	public int getPoints() {
		return this.points;
	}

	public void addPoints(int points) {
		this.points += points;
	}

	public String toString() {
		return this.getClass().getName() + "=[name=" + this.name + "][points=" + this.points + "]";
	}

	private String name = "";
	private int points = 0;

	public static void main(String[] args) {

		System.out.println("Start Player test.");
		Player thePlayer = new Player("Roger");
		System.out.println(thePlayer);
		System.out.println("End Player test.");
	}
}
